Skip to main content

Full text of "Programming"

See other formats

Kinect-based Servo Control 


Make Projects 

build, hack, tweak, share, discover. 

Kinect-based Servo Control 

Written By: Bryan Brown 

Step 1 — Kinect-based Servo Control 

• The first phase of this project is to 
demonstrate basic servo control 
using a Kinect sensor. Ultimately 
this project will include some 
interesting voice-recognition 
commands for controlling a 
robotized webcam. In the first 
iteration, the webcam is tie- 
wrapped to a couple of inexpensive 
servos that are in turn tie-wrapped 
together to provide two-axis 
positioning. The control circuit is a 
breadboarded voltage-to-PWM 
driven by two 12-bit ADCs on a 
USB-based data acquisition board. 
The software is written in C# using 
the Kinect for Windows v1 .0 SDK. 

© Make Projects 

Page 1 of 3 

Kinect-based Servo Control 

Step 2 

• For the first experiment, the 
webcam assembly was placed a 
few feet in front of the Kinect 
sensor. This video shows the 
response I was able to achieve 
using left-hand gesture tracking. 

• My breadboarded circuit was 
producing some unwanted jitter in 
the servos, but overall I was happy 
with the results. 

Step 3 

Servo Face Tracki 

Bryan Brown Subscribe 

ng with Kinect SDK v1 .5 

10 videos T 

fl ml ili * 

• Next, I decided to experiment with 
the newly released Kinect SDK 

v1 .5 with face-tracking features. 
Here's a link to a video. 

• The laptop I'm using in this 
experiment is incredibly under- 
powered for the job so the video 
results are poor, but I wanted to 
capture what I was able to cobble 
together in an afternoon. I still have 
some work to do on the servo 
responsiveness, but I like where 
this is going. The baseline project 
is part of the new SDK Developer 
Toolbox (Face Tracking Basics in 

This document was last generated on 2012-11-01 12:29:51 AM. 

© Make Projects 

Page 2 of 3 

Kinect-based Servo Control 

© Make Projects Page 3 of 3